﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administrator/Master/Administrator.Master"
    AutoEventWireup="true" CodeBehind="ResearchList.aspx.cs" Inherits="Axis.Web.Administrator.Views.Research.ResearchList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="AdministratorTitle" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="AdministratorHead" runat="server">
    <script src="../../../ckeditor/ckeditor.js"></script>
    <script src="../../../ckfinder/ckfinder.js"></script>
    <link href="Css/admin.Research.List.css" rel="stylesheet" />
    <script src="Js/admin.Research.List.js"></script>
    <script src="Js/admin.Research.Question.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="AdministratorBody" runat="server">
    <div id="AdminToolBar">
        <div class="cssFloatRight">
            <div class="cssFloatLeft" style="margin-right: 20px;">
                <img id="imgUserAdd" title="Add" src="../../Images/24x24/add.png" />
                <img id="imgUserEdit" title="Edit" src="../../Images/24x24/edit.png" />
                <img id="imgUserDel" title="Delete" src="../../Images/24x24/delete.png" />
                <img id="imgUserFilter" title="Filter" src="../../Images/24x24/filter.png" />
                <img id="imgUserExport" title="Export" src="../../Images/24x24/export-excel.png" />
            </div>
        </div>
    </div>
    <div class="cssClearBoth">
    </div>
    <table id="GridContents">
    </table>
    <div id="GridPages">
    </div>
    <div id="FormEdit" class="cssForm" style="display: none;">
        <div style="display: none;">
            <label>
                ID</label>
            <input type="text" id="txtID" data-field="ID" class="ui-widget-content ui-corner-all" />
        </div>
        <div class="new-row">
            <label>
                Mã</label>
            <input type="text" id="txtCode" data-field="Code" class="ui-widget-content ui-corner-all" />
        </div>
        <div>
            <label style="padding-left: 50px; width: 50px;">
                Hình 1</label>
            <input type="text" id="txtImage" data-field="Image1" class="ui-widget-content ui-corner-all" />
            <button type="button" id="btnSelectImg">
                Chọn</button>
        </div>
        <div class="new-row">
            <label>
                Tiêu đề</label>
            <input type="text" id="txtName" data-field="Name" class="ui-widget-content ui-corner-all" />
        </div>
        <div>
            <label style="padding-left: 50px; width: 50px;">
                Hình 2</label>
            <input type="text" id="txtImage2" data-field="Image2" class="ui-widget-content ui-corner-all" />
            <button type="button" id="btnSelectImg2">
                Chọn</button>
        </div>
        <div class="new-row">
            <label>
                Loại đáp án</label>
            <select data-field="ProjectType" class="ui-widget-content ui-corner-all">
                <option value="0">Multi</option>
                <option value="1">Single</option>
            </select>
        </div>
        <div>
            <label style="padding-left: 50px; width: 50px;">
                Hình 3</label>
            <input type="text" id="txtImage3" data-field="Image3" class="ui-widget-content ui-corner-all" />
            <button type="button" id="btnSelectImg3">
                Chọn</button>
        </div>
        <div class="new-row">
            <label>
                Ngày bắt đầu</label>
            <input type="text" id="txtStartDate" data-field="StartDate" role="datepicker" class="ui-widget-content ui-corner-all" />
        </div>
        <div>
            <label style="padding-left: 50px; width: 50px;">
                Hình 4</label>
            <input type="text" id="txtImage4" data-field="Image4" class="ui-widget-content ui-corner-all" />
            <button type="button" id="btnSelectImg4">
                Chọn</button>
        </div>
        <div class="new-row">
            <label>
                Ngày kết thúc</label>
            <input type="text" id="txtEndDate" data-field="EndDate" role="datepicker" class="ui-widget-content ui-corner-all" />
        </div>
        <div class="new-row">
            <label>
                Điểm</label>
            <input type="text" id="txtMark" data-field="Mark" class="ui-widget-content ui-corner-all" />
        </div>
        <div class="new-row">
            <label>
                Vị trí</label>
            <input id="txtZOrder" data-field="ZOrder" class="ui-widget-content ui-corner-all" />
        </div>
        <div class="new-row">
            <label>
                Clound Tags</label>
            <asp:DropDownList runat="server" ID="ddlTags" data-field="Tags" multiple="multiple"
                CssClass="ui-widget-content ui-corner-all" ClientIDMode="Static">
            </asp:DropDownList>
        </div>
        <div class="new-row">
            <label>
                Tóm tắt</label>
            <textarea id="txtSummary" class="ui-widget-content ui-corner-all"></textarea>
        </div>
        <div class="new-row">
            <label>
                Nội dung</label>
            <textarea id="txtDescription" class="ui-widget-content ui-corner-all"></textarea>
        </div>
    </div>
    <div id="FormQuestion" class="cssForm" style="display: none;">
        <input type="hidden" id="ResearchID" value="0" />
        <div class="new-row">
            <label>
                Mã câu hỏi</label>
            <input type="text" id="txtCodeQuestion" data-field="CodeQuestion" class="ui-widget-content ui-corner-all" />
        </div>
        <div class="new-row">
            <label style="vertical-align: top">
                Nội dung câu hỏi</label>
            <textarea id="txtContent" data-field="Content" class="ui-widget-content ui-corner-all"
                rows="3"></textarea>
        </div>
        <div class="new-row" id="listOptionQuestion">
            <label style="color: Red; width: 400px; text-align: center; font-size: 24px">
                Câu trả lời</label>
        </div>
        <div id="QuestionRow" class="cssForm">
            <label style="width: 300px; font-weight: bold">
                Tên sản phẩm <span style="color: Red;">(tối đa 5 sản phẩm)</span>
            </label>
        </div>
        <div id="QuestionCol" class="cssForm new-row" style="border-top: 1px solid #A6C9E2;
            margin-top: 8px; padding-top: 5px;">
            <label style="width: 300px; font-weight: bold">
                Tiêu chí bình chọn</label>
        </div>
    </div>
</asp:Content>
